<?php
/**
 * AccountService.php
 *
 * @copyright   2023 thingsworld.com.cn - All Rights Reserved
 * @link        http://thingsworld.com.cn/
 * @author      stiffer.chen <chenl@thingsworld.com.cn>
 * @created     2023-03-09 14:23:13
 * @modified    2023-03-09 14:23:13
 *
 */

namespace App\Services;

use App\Models\Customer\User;
use App\Repositories\Customer\UserRepo;

class AccountService extends BaseService
{
    public function info()
    {
        $account = registry('account') ?? '';
        return UserRepo::infoByPhone($account);
    }
}